<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title><sitemesh:write property='title'/></title>
    <link rel="stylesheet" type="text/css" href="/static/libs/bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/reset.css"/>
    <link rel="stylesheet" type="text/css" href="/static/css/main.css"/>
</head>

<body>
<!--header start-->
<div class="header">
    <div class="logo">
        <a href="#">
            <img src="/static/images/logo.png" alt="" />
            <span>CES管理后台</span>
        </a>
    </div>
    <div class="header-right">
        <div class="header-avator">
            <img src="/static/images/default.png" alt="" />
            <span>${Request["ACCOUNT_NAME"]!"未登录"}</span>
        </div>
        <div class="loginbar">
            <a href="/manage/logout.html">退出</a>
        </div>
    </div>
</div>
<!--header end-->

<div class="content">
    <!--left start-->
    <div class="left" id="left">
        <ul>
            <li>
                <a href="/manage/home.html">
                    <i class="icon icon-pandect"></i>
                    <span>总览</span>
                </a>
            </li>
            <li>
                <a href="/manage/account/list.html">
                    <i class="icon icon-user"></i>
                    <span>账号管理</span>
                </a>
            </li>
            <li>
                <a href="/manage/crawler/list.html">
                    <i class="icon icon-user"></i>
                    <span>爬虫管理</span>
                </a>
            </li>
            <li>
                <a href="/manage/content/list.html">
                    <i class="icon icon-user"></i>
                    <span>内容管理</span>
                </a>
            </li>
            <li>
                <a href="/manage/site/list.html">
                    <i class="icon icon-user"></i>
                    <span>站点管理</span>
                </a>
            </li>
            <li>
                <a href="/manage/import/list.html">
                    <i class="icon icon-user"></i>
                    <span>导入记录</span>
                </a>
            </li>
            <li>
                <a href="/manage/readeditlog/list.html">
                    <i class="icon icon-user"></i>
                    <span>编审记录</span>
                </a>
            </li>
            <li>
                <a href="/manage/publish/list.html">
                    <i class="icon icon-user"></i>
                    <span>发布记录</span>
                </a>
            </li>
        </ul>
    </div>
    <!--left end-->
    <!--right start-->
    <div class="right">
        <sitemesh:write property='m-content'/>
        <!--内容区域 end-->
    </div>
    <!--right end-->
</div>
<!--弹窗-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog" id="modalDialog">
        <div class="modal-content" id="modalContent">
        </div>
    </div>
</div>
<!--js-->
<script src="/static/libs/jquery/jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/libs/jquery/jquery.page.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/libs/bootstrap/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/libs/My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/js/decorators/main.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/js/decorators/util.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/js/decorators/header.js" type="text/javascript" charset="utf-8"></script>

<script type="text/javascript">
    function freshMenu() {
        $("div.left").find("li").removeClass("active");
        var currentUri = window.location.pathname + window.location.search;
        $("div.left").find("a").each(function () {
            var a = $(this);
            if (a.attr("href") == currentUri || currentUri.indexOf(a.attr("href")) >= 0) {
                a.parents("li").addClass("active");
            }
        });
    }

    $(document).ready(function(){
        freshMenu();
    });

</script>
<sitemesh:write property='m-script'/>
</body>
</html>
